The records in the groups are not sorted due to no sort method selected.

Cause:


In Query Design view, the fields in the query grid do not have a sort method selected by default.

Solution:


In the Query Design view, select the desired sort method from the 'Sort' drop-down list for the desired fields.